package com.erp.notifiactionDb;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by Administrator on 2016/12/21/021.
 * 作者：刘洋
 */
@Table(name="Person")
public class NotificationBean {
    @Column(name = "id",isId = true)
    private int id;
    /**获得推送的时间*/
    @Column(name = "time")
    private String time;
    /**推送的标题*/
    @Column(name = "title")
    private String title;
    /**推送的内容*/
    @Column(name = "xiangqing")
    private String xiangqing;
    /**推送的类型*/
    @Column(name = "identification")
    private int identification;
    /**推送中的id数值*/
    @Column(name = "oidid")
    private String oidid;
    /**推送是否被查看*/
    @Column(name = "istrue")
    private boolean istrue;
    /**推送的id*/
    @Column(name = "notification")
    private int notification;

    public NotificationBean(){

    }
    public NotificationBean(String title,String xiangqing,String time,int identification,String oidid,boolean istrue,int notification){
        this.title=title;
        this.xiangqing=xiangqing;
        this.time=time;
        this.identification=identification;
        this.oidid=oidid;
        this.istrue=istrue;
        this.notification=notification;
    }

    public int  isNotification() {
        return notification;
    }

    public void setNotification(int  notification) {
        this.notification = notification;
    }

    public boolean istrue() {
        return istrue;
    }

    public void setIstrue(boolean istrue) {
        this.istrue = istrue;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getXiangqing() {
        return xiangqing;
    }

    public void setXiangqing(String xiangqing) {
        this.xiangqing = xiangqing;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getIdentification() {
        return identification;
    }

    public void setIdentification(int identification) {
        this.identification = identification;
    }

    public String getOidid() {
        return oidid;
    }

    public void setOidid(String oidid) {
        this.oidid = oidid;
    }

    @Override
    public String toString() {
        return "NotificationBean{" +
                "id=" + id +
                ", time=" + time +
                ", title='" + title + '\'' +
                ", xiangqing='" + xiangqing + '\'' +
                ", identification=" + identification +
                ", oidid='" + oidid + '\'' +
                ", istrue=" + istrue +
                ", notification=" + notification +
                '}';
    }
}
